﻿using Iworld.Basis.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Iworld.Game.Model
{
    /// <summary>
    /// 牌轮信息
    /// </summary>
    public class GameChapter : RecordingTimeModelBase
    {

        /// <summary>
        /// 所属的某个运行时服务器的标识符
        /// </summary>
        public string Tk { set; get; }

        /// <summary>
        /// 本轮所有牌局的信息
        /// </summary>
        public virtual List<GameRound> GameRounds { get; set; }

        /// <summary>
        /// 轮号
        /// </summary>
        public int ChapterNumber { get; set; }

        /// <summary>
        /// 牌轮激活的时间
        /// </summary>
        public DateTime? ActiveTime { get; set; }

        /// <summary>
        /// 牌轮实际结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 当前开奖的局号
        /// </summary>
        public int? CurrentRoundNumber { get; set; }

        /// <summary>
        /// 下次开奖的局号
        /// </summary>
        public int? NextRoundNumber { get; set; }

        /// <summary>
        /// 下次开奖的时间
        /// </summary>
        public DateTime? NextRoundLotteryTime { get; set; }

        /// <summary>
        /// 本轮总局数
        /// </summary>
        public int TotalRoundCount { get; set; }

        /// <summary>
        /// 牌轮状态
        /// </summary>
        public GameChapterStatus Status { get; set; }
      
    }
}
